package cn.jianyongjie.basic.service;

import cn.jianyongjie.basic.dto.LoginDto;
import cn.jianyongjie.basic.dto.WechatLogin;
import cn.jianyongjie.basic.utils.AjaxResult;

import java.util.HashMap;

/**
* @Description: TODO
* @Author: JianYongJie
* @Version: 1.0
* @Date:  2022/5/10 11:03
*/
public interface ILoginService {

    /*
    * @Title: ILoginService
    * @Description: 登录
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/12 14:59
    * @Parameters: * @param dto
    * @Return java.util.HashMap<java.lang.String,java.lang.Object>
    */
    HashMap<String, Object> administrators(LoginDto dto);

    /*
    * @Title: ILoginService
    * @Description: 微信扫码登录
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/12 14:59
    * @Parameters: * @param code
    * @Return java.util.HashMap<java.lang.String,java.lang.Object>
    */
    AjaxResult wechat(WechatLogin code);

    /*
    * @Title: ILoginService
    * @Description: 手机授权注册
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/12 21:17
    * @Parameters: * @param code
    * @Return void
    */
    HashMap<String,Object> binder(WechatLogin code);
}
